import service from "@/utils/request";
export let getCategoryData = (id)=>{
   return service({
       url:'/catalog/list/'+id,
       method:'get',
   })
}

export let getCategoryList = ()=>{
    return service({
        url:'/catalog/list',
        method:'get'
    })
}